<div id="page_content">
<p id="notice"><%= notice %></p>

<p>
  <b>Name:</b>
  <%= @product.name %>
</p>

<p>
  <b>Barcode:</b>
  <%= @product.barcode %>
</p>

<p>
  <b>Serial:</b>
  <%= @product.serial %>
</p>

<p>
  <b>Receipt:</b>
  <%= @product.receipt %>
</p>

<p>
  <b>Purchase date:</b>
  <%= @product.purchase_date %>
</p>

<p>
  <b>Value:</b>
  <%= @product.value %>
</p>


<%= link_to 'Edit', edit_product_path(@product) %> |
<%= link_to 'Back', products_path %>
</div>